#include "junix.h"

int main(int argc, char **argv)
{
	char *src = "hello,world!";

	printf("%s\n", index(src, 'o'));
	printf("%s\n", rindex(src, 'o'));

	printf("%s\n", strchr(src, 'o'));
	printf("%s\n", strrchr(src, 'o'));

    exit(0);
}

